home *** CD-ROM | disk | FTP | other *** search
- E
- E *************************************************************************
- E * This is the GETMAIL Script *
- E * This Script contacts the BBS, then issues a LR (List) command. *
- E * *
- E * When it has issued the LR command, the Script returns to paKet. *
- E *************************************************************************
- E
- *------------------------------------------------------------------------
- * This Script is a slight variation on the BBSCONN Script.
- *
- * Note I have used only ONE variable here - seems to work just as well.
- *
- * The main difference is, this one issues a LR command to list the BBS
- * Messages for me after the connection is established. It is hardly
- * worth a Script just to do that, but I included this so you can easily
- * add any additional commands you might like.
- *
- * For example you might like to set up this Script to include a Delay
- * (Eg: D 02:00 to wait until 2am), then connect to the BBS and download a
- * Binary File.
- *---------------------------------------------------------------------------
-
- * In the following M command, the BBS callsign is Moved into the %A variable
- * Change that line (after the comma) to include the BBS of YOUR CHOICE.
- M %A,VK2ATM-1
-
- * Send a BREAK to the TNC to get into Command Mode
- B
-
- * Then wait for the "cmd:" prompt. Quit if not received within 5 seconds.
- w 5,cmd:
- q
-
- * Now, SEND a CONNECT command using the BBS callsign we have in the %A variable
- S C %A
-
- * ... and wait up to 30 seconds for the TNC's CONNECTED message
- w 30,CONNECTED to %A
- g noanswer
-
- * We are CONNECTED, but wait for the BBS Prompt (just the last char will do)
- w 30,>
- g noanswer
-
-
- * Right! Now we are connected and the BBS is waiting for a command.
- * In this example I will simply send the LR command. You might like to do
- * something a little more sophisticated, including waiting for the command
- * to be performed before you issue a Disconnect (or send a Bye) command!
-
- s lr
-
- * That's all Folks
- r
-
- :noanswer
- E *** The BBS did not respond within 30 seconds ***
- r -1
-
-